﻿using System;
using System.Collections.Generic;
using Framework.Interfaces;

namespace RSSNewsGrabberModule.Models
{
    public class RssDataItem : IDataChild
    {
        public string Title {get; set; }
     
        public string Description {get; set; }
    
        public string Link {get; set; }
      
        public DateTime? PublishedDate {get; set; }

        public ICollection<string> Categories { get; set; }

        public string AdditionalContent {get; set; }
      
        public ContentType AdditionalContentType {get; set; }

        public RssDataItem()
        {
            Title = null;
            Description = null;
            Link = null;
            PublishedDate = null;
            AdditionalContent = null;
            AdditionalContentType = ContentType.Xml;
            Categories = new LinkedList<string>();
        }
   
    }
}
